﻿<?php get_header(); ?>
	<div class="middle_part">
		<h1>Тэги</h1>
		<div class="social middle">
			<a href="#" class="vk" title="vk">vk</a>
			<a href="#" class="facebook" title="facebook">facebook</a>
			<a href="#" class="google" title="google">google</a>
			<a href="#" class="live" title="live">live</a>
			<a href="#" class="rss" title="rss">RSS</a>
			<a href="#" class="twitter" title="twitter">twitter</a>
		</div>
	</div>
	<section class="content">
			<hr class="content_line"/>
			<div class="content_wrapp">
			<?php if(have_posts()) :?>
			<?php while(have_posts()) : the_post();?>
				<article class="main_news">
					<h3><?php the_title(); ?></h3>
					<div class="line posts_line"></div>
					<span class="news_date"><a href="<?php the_permalink(); ?>" title=""><?php the_time('m.d.Y'); ?></a></span>
					<span class="news_autor">Добавил: <a href="<?php the_permalink(); ?>" title=""><?php the_author(); ?></a></span>
					<span class="news_category">Рубрика: <?php the_category(', '); ?></span>
					<span class="news_coments"><a href="<?php the_permalink(); ?>/#comments" title="25 комментариев"><?php comments_number(0, 1, '%'); ?></a></span>
					<div class="main_part">
						<a class="posts_image" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('thumb-size-4');?></a>
						<?php the_excerpt(); ?>
						<a class="news_more" href="<?php the_permalink(); ?>" title="Читать полностью">Читать полностью</a>
					</div>		
				</article>
			<?php endwhile; ?>
			<?php endif; ?>
			<?php if (function_exists('wp_corenavi')) wp_corenavi(); ?>		
		</div>		
		<?php get_sidebar();?>	
	</section>
<?php get_footer(); ?>